Skip to content

Instantly share code, notes, and snippets.

@HFTrader
HFTrader / PacmanCheatsheet.md
Last active March 4, 2026 21:11
Pacman Cheatsheet

Installing packages

Note that packages often have a series of optdepends - optional dependencies - which are packages that provide additional functionality to the application, albeit not strictly required for running it. When installing a package, pacman will list its optional dependencies among the output messages, but they will not be found in pacman.log: use the pacman -Si (see Querying package databases) command to view the optional dependencies of a package, together with short descriptions of their functionality.

⚠️ Partial upgrades are not supported 69

Installing specific packages

To install a single package or list of packages (including dependencies), issue the following command:

@magnetikonline
magnetikonline / README.md
Last active March 4, 2026 21:11
Bash string manipulation cheatsheet.

Bash string manipulation cheatsheet

Assignment
Assign value to variable if variable is not already set, value is returned.

Combine with a : no-op to discard/ignore return value.
${variable="value"}
: ${variable="value"}
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@akdmjeau-eng
akdmjeau-eng / psql
Created March 4, 2026 21:10 — forked from hernandez87v/psql
PostgresSQL - createuser: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory Is the server running locally and accepting connections on that socket?
# createuser: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
# Is the server running locally and accepting connections on that socket?
# List clusters running on device
pg_lsclusters
# It will likely show Status down
# Restart pg_ctlclusters
#format is pg_ctlcluster <version> <cluster> <action>
sudo pg_ctlcluster <version> main start
@win0err
win0err / install-apple-emoji.md
Last active March 4, 2026 21:10
💃 Apple Emoji on Linux

Install Apple Color Emoji on Linux

  1. Download font.
mkdir ~/.local/share/fonts/
wget https://github.com/samuelngs/apple-emoji-linux/releases/latest/download/AppleColorEmoji.ttf -O ~/.local/share/fonts/AppleColorEmoji.ttf
# or system-wide to /usr/share/fonts/AppleColorEmoji/, for example
  1. Put Apple Color Emoji on the 1st place in /etc/fonts/conf.d/60-generic.conf:
@dmitry-osin
dmitry-osin / css-cheatsheet-rus.md
Created April 28, 2025 23:02
Полная шпаргалка по CSS
@skylord123
skylord123 / README.md
Last active March 4, 2026 21:05
Copy teams chat into markdown format

Teams Chat to Markdown Bookmarklet

Since Microsoft conveniently removed any decent way to copy Teams chats (with timestamps, names, you know—useful stuff), this bookmarklet is your only shot at getting that functionality back.

This bookmarklet allows you to extract chat messages from the Microsoft Teams web application and converts them directly into formatted Markdown. It provides an easy-to-use interface to copy and export conversations seamlessly.

🚀 Features

  • Markdown Formatting: Converts chat messages, including inline code, code blocks, quotes, images, and emojis into Markdown format.
  • Timestamp and Author Information: Clearly formats author names and timestamps.
@LeCoupa
LeCoupa / nodejs-cheatsheet.js
Last active March 4, 2026 20:59
Complete Node.js CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
/* *******************************************************************************************
* THE UPDATED VERSION IS AVAILABLE AT
* https://github.com/LeCoupa/awesome-cheatsheets
* ******************************************************************************************* */
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html
@Slyrith
Slyrith / all-discord-verified-gameid.txt
Last active March 4, 2026 20:58
All discord verified game id, 10138 parsed entries.
1022248949865791588 - MONSTER HUNTER RISE
1025084469306200064 - MONSTER HUNTER RISE: SUNBREAK DEMO
1067552066454695965 - MARVEL SNAP
1067554911358832721 - Goose Goose Duck
1080277149623271444 - Hogwarts Legacy
1080279445153263686 - Sons Of The Forest
1095820752877535262 - Crab Champions
1113966530531704943 - Diablo IV
1121201675240210523 - Honkai: Star Rail
1124108180125921400 - Crab Game